import React from 'react';
import ReactDOM from 'react-dom';
import {Router, Route, hashHistory} from 'react-router';
import Login from './pages/Login';
import Regist from './pages/regist';
import Main from './pages/main';
import My from './pages/My'
import selectSchool from "./pages/selectSchool";
import ForgetPassword from "./pages/ForgetPassword"
import ShowErwe from "./pages/ShowErwei"
import AppErwei from "./pages/AppErwei"
import styles from './css/Project.css';
import styleLogin from './css/Login.css';

ReactDOM.render((
    <Router history={hashHistory}>
        <Route  path="/"   component={Login}/>
        <Route path="/user/regist" component={Regist}/>
        <Route path="/main" component={Main}/>
        <Route path="/my" component={My}/>
        <Route path="/selectSchool" component={selectSchool}/>
        <Route path="/ForgetPassword" component={ForgetPassword}/>
        <Route path="/ShowErwe" component={ShowErwe}/>
        <Route path="/AppErwei" component={AppErwei}/>
    </Router>
), document.getElementById('app'));